//立即预约的所有后台请求接口
import {request} from '@/utils/request.js'

export function getSignUser (id) {
	return request({
		url: `/api/user/sign/${id}`,
		method:'GET'
	})
}

export function getSignRecords (phone) {
	return request({
		url: `/api/sign/list/${phone}`,
		method:'GET'
	})
}

export function userToSign (id,phone) {
	return request({
		url: `/api/sign/toSign/${id}/${phone}`,
		method:'POST'
	})
}